﻿using System.Collections.ObjectModel;
namespace Renci.Data.Interop.OpenGIS.Gml
{
    /// <remarks/>
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(TrianglePatchArrayPropertyType))]
    [System.Xml.Serialization.XmlIncludeAttribute(typeof(PolygonPatchArrayPropertyType))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml")]
    [System.Xml.Serialization.XmlRootAttribute("patches", Namespace = "http://www.opengis.net/gml", IsNullable = false)]
    public class SurfacePatchArrayPropertyType
    {
        private Collection<AbstractSurfacePatchType> _surfacePatch = new Collection<AbstractSurfacePatchType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("PolygonPatch", Type = typeof(PolygonPatchType))]
        [System.Xml.Serialization.XmlElementAttribute("Triangle", Type = typeof(TriangleType))]
        [System.Xml.Serialization.XmlElementAttribute("Rectangle", Type = typeof(RectangleType))]
        [System.Xml.Serialization.XmlElementAttribute("Sphere", Type = typeof(SphereType))]
        [System.Xml.Serialization.XmlElementAttribute("Cylinder", Type = typeof(CylinderType))]
        [System.Xml.Serialization.XmlElementAttribute("Cone", Type = typeof(ConeType))]
        public Collection<AbstractSurfacePatchType> SurfacePatch 
        {
            get
            {
                return this._surfacePatch;
            }
        }
    }
}
